import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Post } from '../entities/post.entity';
import { Blog, User, Tag, Role, Conversation, Message, Announcement, Menu } from '@app/entities';
import { PublicPostsController } from './public.posts.controller';
import { PublicPostsService } from './public.posts.service';

@Module({
  imports: [TypeOrmModule.forFeature([Post, Blog, User, Tag, Role, Conversation, Message, Announcement, Menu], 'kv-blog')],
  controllers: [PublicPostsController],
  providers: [PublicPostsService],
})
export class PublicModule {}


